INCLUDE = -I../include
LIB_OBJS = cputime.o  rt_utils.o
CFLAGS = -O2 -Wall -Wstrict-prototypes
CPPFLAGS = $(INCLUDE)

ifdef CBS
LIB_OBJS += cbs.o
CPPFLAGS += -DCBS
endif

all: librt_utils.a

librt_utils.a: $(LIB_OBJS)
	ar -r librt_utils.a $(LIB_OBJS)
	ranlib librt_utils.a

clean:		
	rm -f *.o
	rm -f *.a
